package com.example.demo.zb;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author linjingze
 * @date 2024/1/19 5:52 PM
 */
public enum ChannelEnum {

    NYC {
        @Override
        public int sort() {
            return 1;
        }

        @Override
        public String desc() {
            return "NYC(NEW YORK)";
        }
    },HOU {
        @Override
        public int sort() {
            return 2;
        }

        @Override
        public String desc() {
            return "HOU(HOUSTON)";
        }
    },CHI {
        @Override
        public int sort() {
            return 3;
        }

        @Override
        public String desc() {
            return "CHICAGO(CHICAGO)";
        }
    },
    LAX {
        @Override
        public int sort() {
            return 3;
        }

        @Override
        public String desc() {
            return "LAX(LOS ANGELES)";
        }


    },
    OAK {
        @Override
        public int sort() {
            return 3;
        }

        @Override
        public String desc() {
            return "OAK(OAKLAND)";
        }


    },
    SAV {
        @Override
        public int sort() {
            return 5;
        }

        @Override
        public String desc() {
            return "SAV(SAVANNAH)";
        }
    },

    SEA {
        @Override
        public int sort() {
            return 6;
        }

        @Override
        public String desc() {
            return "SEA(SEATTLE)";
        }
    },
    DEFAULT {
        @Override
        public int sort() {
            return Integer.MIN_VALUE;
        }

        @Override
        public String desc() {
            return "";
        }
    },
    ;

    public List<String> oak() {
        return Collections.emptyList();
    }

    public abstract int sort();

    public abstract String desc();
}
